depends gmp &&
depends ncurses &&
optional_depends readline '' --disable-readline 'for readline support' &&

optional_depends ODBC-MGR '' --without-odbc 'for odbc package' &&
optional_depends X11-LIBS '' --without-xpce 'for xpce package (also depends on libxpm, libjpeg)' &&
if get_spell_provider $SPELL X11-LIBS >/dev/null; then
	depends libxpm &&
	depends jpeg
fi &&
optional_depends texlive '' --without-sgml 'for sgml package (also depends on ctags)' &&
if is_depends_enabled $SPELL texlive; then
	depends ctags
fi &&
optional_depends openssl '' --without-ssl 'for ssl package' &&

# Strictly speaking I'm not sure this depends on JDK - JRE might be sufficient, except that my sedit in PRE_BUILD guarentees we need javac anyway
optional_depends JDK '' --without-jpl 'for jpl package' z-rejected &&
optional_depends zlib '' --without-zlib 'for zlib package'

# clib cpp table sgml/RDF semweb http chr clpqr nlp pldoc plunit have no external deps
