depends g++ &&
depends gsl &&
depends boost &&
depends gtkmm2 &&
depends libxml2 &&
depends libxslt &&
depends libart_lgpl &&
depends libsigc++3 &&
depends libgc &&
depends popt &&
depends xml-parser-expat &&
depends libgnomeprintui &&

optional_depends gtkspell "" "" "for GtkSpell support" &&

suggest_depends pyxml "" "" "to enable Export GIMP palette extension" &&
suggest_depends numpy "" "" "to enable Perspective extension" &&

if is_depends_enabled poppler cairo; then
  optional_depends -sub XPDF_HEADERS poppler \
                   "--enable-poppler-cairo" \
                   "--disable-poppler-cairo" \
                   "for rendering PDF preview"
fi &&

optional_depends gnome-vfs2 \
                 "--with-gnome-vfs" \
                 "--without-gnome-vfs" \
                 "use gnome vfs for loading files?" &&

optional_depends lcms \
                 "--enable-lcms" \
                 "--disable-lcms" \
                 "for optimized color management engine" &&

optional_depends perl \
                 "--with-perl" \
                 "--without-perl" \
                 "use Perl for embedded scripting?" &&

optional_depends python \
                 "--with-python" \
                 "--without-python" \
                 "use Python for embedded scripting?" &&

if is_depends_enabled $SPELL python; then
  runtime_depends lxml
fi
