# Template file for 'duplicity'
pkgname=duplicity
version=0.6.21
revision=1
distfiles="http://code.launchpad.net/duplicity/0.6-series/${version}/+download/duplicity-0.6.21.tar.gz"
checksum="a3628aa6c151fbc1a3014f0db7812d7234e04bba0a45ce1255e7450bdfeff706"
build_style=python-module
hostmakedepends="python-devel"
makedepends="librsync-devel"
maintainer="Steven R <strob AT styez DOT com>"
homepage="http://duplicity.nongnu.org/"
license="GPL"
short_desc="A utility for encrypted, bandwidth-efficient backups using the rsync algorithm."

pre_configure() {
	chmod 644 "${BUILDDIR}bin/duplicity.1"
	chmod 644 "${BUILDDIR}bin/rdiffdir.1"
}

duplicity_package() {
	depends="python>=2.7"
	pycompile_module="duplicity"
	pkg_install() {
		vmove all
	}
}