depends LEXICAL-SCANNER &&
depends ncurses '--with-ncurses' &&

optional_depends perl \
                 "--with-perl" \
                 "--without-perl" \
                 "for use of Perl as an extension language" &&

message "${MESSAGE_COLOR}NOTICE: depending on answer below either X or console version will be built${DEFAULT_COLOR}" &&

optional_depends libx11 \
                 "--with-x" \
                 "--without-x" \
                 "to use the X Window System and build xvile instead of vile" &&

if is_depends_enabled $SPELL libx11; then
  depends libxt &&

  optional_depends libxpm \
                   "--with-xpm" \
                   "--without-xpm" \
                   "to use Xpm library for colored icon"
fi
