makedepends=(dbus-python hicolor-icon-theme intltool libtorrent-rasterbar python-distutils-extra python-efl python-xdg git)
run=(libtorrent-rasterbar python-xdg)

description="Torrent client based on EFL" 
url="https://phab.enlightenment.org/w/projects/epour/"

packager="Great-OS Team"
maintainer="Dania"

set=(e18n)

name=epour
version=0.7.0
_commit=ef8ebed4f5d7b320e0b7dd3ad6446650caa1ba5e
release=9


prepare() {

  git clone https://git.enlightenment.org/enlightenment/epour.git $name-$version
  cd $name-$version
  git checkout ${_commit}

}

build() {

  cd $name-$version

  python3 setup.py install --prefix=/usr --root=$PKG

  #install text files
  install -d $PKG/usr/share/doc/$name/
  install -m644 -t $PKG/usr/share/doc/$name/ AUTHORS README COPYING

}
