# Template file for 'offlineimap'
pkgname=offlineimap
version=8.0.3
revision=1
build_style=python3-pep517
make_check_args="--ignore test/tests/test_00_imaputil.py
 --ignore test/tests/test_01_basic.py --ignore test/tests/test_02_MappedIMAP.py"
_deps="python3-distro python3-rfc6555 python3-imaplib2"
hostmakedepends="${_deps} python3-wheel asciidoc"
depends="${_deps}"
checkdepends="${depends} python3-pytest-xdist"
short_desc="Powerful IMAP/Maildir synchronization and reader support"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://offlineimap.org/"
changelog="https://raw.githubusercontent.com/OfflineIMAP/offlineimap3/master/Changelog.md"
distfiles="https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/v${version}.tar.gz"
checksum=967a8ca24e5f665cd22941ba1173db10cbd908085ec22ab9b0e4a64c94007d85

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