TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/${TERMUX_PKG_VERSION}/GraphicsMagick-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="littlecms, libtiff, freetype, libjasper, libjpeg-turbo, libpng, libbz2, libxml2, liblzma"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_ftime=no
---without-magick-plus-plus
--with-fontpath=/system/fonts
--without-x"
TERMUX_PKG_RM_AFTER_INSTALL="bin/*-config share/man/man1/*-config.1"
--- /dev/null
+TERMUX_SUBPKG_INCLUDE="lib/libGraphicsMagick++.so"
+TERMUX_SUBPKG_DESCRIPTION="format-independent image processing - C++ shared library"
+TERMUX_SUBPKG_DEPENDS="graphicsmagick"