depends automake &&
depends slang "--with-screen=slang" &&

if [[ $MC_GLIB == glib ]]; then
  depends glib "--with-glib12"
else
  depends glib2
fi &&

optional_depends gpm \
                 "--with-gpm-mouse" "--without-gpm-mouse" \
                 "gpm mouse support" &&

optional_depends libx11 \
                 "--with-x" "--without-x" \
                 "for X11 Support"  &&

if is_depends_enabled $SPELL libx11;then
  optional_depends libxevie '' '' 'X11 event support'
fi
