# Template file for 'duplicity'
pkgname=duplicity
version=0.6.22
revision=1
distfiles="http://code.launchpad.net/duplicity/0.6-series/${version}/+download/duplicity-${version}.tar.gz"
checksum="6f489b0445681f0697488f3d4097b4c56a7fe8a5fea5fadd2e431724039c5a12"
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
	}
}