depends xorg-libs  "--with-x" &&
depends freetype2  "--enable-anti-alias" &&
depends fontconfig "--enable-fontconfig" &&

optional_depends  sdl2 \
                  "--with-gui=sdl2" \
                  "--with-gui=xlib" \
                  "use SDL2 for rendering the GUI" &&

optional_depends  harfbuzz \
                  "--enable-otl" \
                  "--disable-otl" \
                  "for Open Type Layout" &&

optional_depends  scim \
                  "--enable-scim" \
                  "--disable-scim" \
                  "for SCIM i18n input support" &&

optional_depends  iiimf-canna \
                  "--enable-iiimf" \
                  "--disable-iiimf" \
                  "for IIIMF (Internet/Intranet Input Method Framework) support" &&

optional_depends  fribidi \
                  "--enable-fribidi" \
                  "--disable-fribidi" \
                  "for Fribidi BiDi rendering support" &&

optional_depends  gtk+3 \
                  "--with-gtk=3.0" \
                  "--without-gtk" \
                  "for GUI configurator mlconfig and mlterm-menu" &&

optional_depends  libxft \
                  "" \
                  "" \
                  "to use xft for rendering text" &&

optional_depends  cairo \
                  "" \
                  "" \
                  "to use cairo for rendering text" &&

optional_depends  gdk-pixbuf \
	  "--with-imagelib=gdk-pixbuf2" \
	  "" \
	  "for background image support - say y"
