# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.2
revision=3
build_style=gnu-configure
configure_args="--disable-debug"
hostmakedepends="automake libtool pkg-config"
makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.2 ncurses-devel"
depends="libtorrent>=0.13.2"
short_desc="Ncurses BitTorrent client based on libTorrent"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libtorrent.rakshasa.no"
license="GPL-2"
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
checksum=5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d

pre_configure() {
	sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
	autoreconf -fi
}
