depends dbus-python &&
depends SSL &&
depends pyxdg &&
depends zlib &&
depends boost &&
depends twisted &&
depends SETUPTOOLS &&
depends chardet &&
depends rb-libtorrent &&

optional_depends pygtk2 "" "" "For gtk ui" &&
optional_depends librsvg2 "" "" "For gtk ui" &&
optional_depends notify-python "" "" "For libnotify notifications" &&

optional_depends mako    \
                 ''      \
                 ''      \
                 'for deluge-web support' &&

local boost_ver=$(installed_version boost) &&
if [[ "$(echo $boost_ver | sed -e 's:_::g')" -lt 1341 ]]; then
  message "deluge needs newer boost" &&
  force_depends boost 
fi &&

sub_depends rb-libtorrent PYTHON &&
sub_depends boost THREAD &&
sub_depends boost FILESYSTEM &&
sub_depends boost DATE_TIME 
