# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=jabber-roster
pkgver=0.1.1
pkgrel=1
pkgdesc="A Python tool for listing your Jabber roster contacts"
url="https://github.com/kparal/jabber-roster"
arch="noarch"
license="AGPL-3.0"
depends_dev="py-xmpp"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --root "$pkgdir"
}

sha512sums="30b9e27cdc3e0d69940b3d7594dab98539fecf9f4a68a4e9133c38b2fd5784b038544cdf9418d65e55a357ff0123235653135f5687ed9ec1fb9d354ceffae1f4  jabber-roster-0.1.1.tar.gz"
