app=transmission
version=2.94
build=1sml

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

homepage="https://transmissionbt.com/"
download="https://github.com/transmission/transmission-releases/raw/master/transmission-2.94.tar.xz"
desc="Torrent client with text-mode, remote, daemon and GTK+3"
requires="intltool curl desktop-file-utils libevent miniupnpc libnotify hicolor-icon-theme gtk3"
sha512sums="
ded4533415be4f8db35a195215a40e556447bc428422509c21a8f7ecefe3050c93f05b0d0a4af891002e4610ed09511c85e0df0e2526b9318788db009ca3db37  transmission-2.94.tar.lz
"
