# Description: A bittorrent client based on Python and GTK.
# URL: https://www.deluge-torrent.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: librsvg libtorrent-rasterbar python3-chardet python3-pyopenssl python3-pyxdg python3-twisted python3-pyxdg

name=deluge
version=2.1.1
release=1
source=(https://ftp.osuosl.org/pub/deluge/source/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version

	/usr/bin/python3 setup.py build
	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
}
