depends  xorg-libs  &&

if list_find "$XNEUR_SOUND" "gstreamer" ; then
  depends gstreamer "--with-sound=$XNEUR_SOUND"
elif list_find "$XNEUR_SOUND" "openal"; then
  depends OPENAL "--with-sound=$XNEUR_SOUND"
elif list_find "$XNEUR_SOUND" "aplay"; then
  depends alsa-utils "--with-sound=$XNEUR_SOUND"
fi  &&

optional_depends  aspell                \
                  "--with-aspell"       \
                  "--without-aspell"    \
                  "for aspell support"  &&

optional_depends  libnotify                    \
                  "--with-libnotify"           \
                  "--without-libnotify"        \
                  "for notifications support"  &&

optional_depends  pcre                               \
                  "--with-pcre"                      \
                  "--without-pcre"                   \
                  "for regular expressions support"  &&

optional_depends  xosd                     \
                  "--with-xosd=yes"        \
                  "--with-xosd=no"         \
                  "for OSD notifications"
