depends  openssl  &&
depends  libx11   &&
if list_find $RDESKTOP_SOUND alsa; then
  depends  alsa-lib
elif list_find $RDESKTOP_SOUND libao; then
  depends  libao
fi

# current support of this is broken
#optional_depends libvncserver \
#                 "--with-libvncserver" \
#                 "--without-libvncserver" \
#                 "to build rdp2vnc"
