# Template file for 'offlineimap'
pkgname=offlineimap
version=7.2.2
revision=1
noarch=yes
build_style=python2-module
pycompile_module="offlineimap"
hostmakedepends="python-six asciidoc"
depends="python-six"
short_desc="Powerful IMAP/Maildir synchronization and reader support"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://offlineimap.org/"
changelog="https://raw.githubusercontent.com/OfflineIMAP/offlineimap/master/Changelog.md"
distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz"
checksum=4481da81c22da3b85c5bd3fff3da7930b8ccdc2675d52cf3fc7e19758498b04e

post_install() {
	make -C docs man
	vman docs/offlineimap.1
	vman docs/offlineimapui.7
	vsconf offlineimap.conf
	vsconf offlineimap.conf.minimal
}
