# Maintainer:
pkgname=gcalcli
pkgver=3.4.0
pkgrel=1
pkgdesc="Google Calendar Command Line Interface"
url="https://github.com/insanum/gcalcli"
arch="noarch"
license="MIT"
depends="python3 py-google-api-python-client py-dateutil py-gflags py-vobject"
makedepends="python2-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/insanum/$pkgname/archive/v$pkgver.tar.gz"

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

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

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d3844dc34dfd21b1cca6f46bf2b66b6aabfccd4d7b23ad4e076966aeec51681792c0dbe5f61e4cb84a75ce3bbf4fd1c63a2ce759cecdeee3e4608c0238c07a4b  gcalcli-3.4.0.tar.gz"
