# Depends on: boost geoip python2

description="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around."
url="http://www.rasterbar.com/products/libtorrent/"
packager="fanch at nutyx dot org, tnut at nutyx dot org"
name=libtorrent-rasterbar
version=1.0.7
release=2
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz)

build() {
	cd $name-${version}
   ./configure \
    --prefix=/usr \
    --enable-python-binding \
    --with-libgeoip=system \
    --with-libiconv
   make
   make DESTDIR=$PKG install
}
