depends  X11-LIBS                                                     &&
optional_depends esound "--enable-sound" "--disable-sound"            \
                        "For sound support"                           &&
if [[ "$GOLEM_XINERAMA" = "--enable-xinerama" ]] ; then
  if [[  "$(get_spell_provider  ${1:-$SPELL}  X11-LIBS)"  ==  "xorg-libs"  ]] ||
     [[  "$(get_spell_provider  ${1:-$SPELL}  X11-LIBS)"  ==  "xorg-server"  ]] ; then
       depends libxinerama
  fi
fi
