# TODO: will require module-build after Perl 5.22
depends perl &&
depends perl-extutils-pkgconfig &&
depends module-build &&
depends gd &&
depends zlib &&

# TODO: create sub-depends for gd spell
message "${MESSAGE_COLOR}NOTE: the following dependencies need to be selected in ${SPELL_COLOR}gd${MESSAGE_COLOR} spell as well. Rebuild it if they aren't.${DEFAULT_COLOR}" &&

optional_depends libpng "" "" "for PNG support" &&
optional_depends libxpm "" "" "for XPM support" &&
optional_depends JPEG "" "" "for JPEG support" &&
optional_depends freetype2 "" "" "for FreeType support"
