# Template file for 'ImapGoose'
pkgname=ImapGoose
version=0.5.3
revision=3
build_style=go
go_import_path="git.sr.ht/~whynothugo/ImapGoose"
go_package="./cmd/imapgoose"
makedepends="sqlite-devel"
checkdepends="dovecot golangci-lint mdocml"
short_desc="Keep local Maildir directories synchronised with an IMAP server"
maintainer="Yushi <git@yushi.one>"
license="ISC"
homepage="https://git.sr.ht/~whynothugo/ImapGoose"
changelog="https://git.sr.ht/~whynothugo/ImapGoose/blob/main/CHANGELOG.md"
distfiles="https://git.sr.ht/~whynothugo/ImapGoose/archive/v${version}.tar.gz"
checksum=d8ddce354a89122062f72fd21a10fe4c33bac2feb3b2064b96918ffc9ae61592
nopie=yes

post_install() {
	vlicense LICENCE
	vman imapgoose.1
	vman imapgoose.conf.5
	vcompletion contrib/_imapgoose zsh imapgoose
}
