depends  xorg-libs  &&

if list_find "$XNEUR_SOUND" "gstreamer" | list_find "$XNEUR_SOUND" "openal"; then
  depends $XNEUR_SOUND "--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  pcre                               \
                  "--with-pcre"                      \
                  "--without-pcre"                   \
                  "for regular expressions support"
