A very nice set of tool / library for pdf transformations / manipulations. Good alternative / supplement to the poppler tools.
Can you exact tell me which dependencies needed mingw?
It looks like qpdf is currently available in Termux through Arch Linux PRoot. This script is designed to install Arch Linux in just a few keystrokes. Tapping this link https://sdrausty.github.io/TermuxArch/setupTermuxArch.sh will transfer setupTermuxArch.sh to your device. Simply run bash ~/storage/downloads/setupTermuxArch.sh to install Arch Linux in Termux. To install use pacman -S qpdf and this will install qpdf on device.

Turns out it was quite easy to package this as I did in #1889
If anybody wan't to try it out, tell me your arch and I'll provide a deb file.
Thanks to @vishalbiswas the package is now available for installation: pkg install qpdf.
Most helpful comment
Thanks to @vishalbiswas the package is now available for installation:
pkg install qpdf.