# Template file for 'meli'
pkgname=meli
version=0.8.13
revision=1
build_style=cargo
configure_args="--bin meli"
hostmakedepends="pkg-config man"
makedepends="openssl-devel sqlite-devel"
build_wrksrc="meli"
depends="libgpgme libnotmuch"
short_desc="Terminal e-mail client"
maintainer="gnist <gnist@kollektiv.email>"
license="EUPL-1.2 OR GPL-3.0-or-later"
homepage="https://meli-email.org/"
changelog="https://git.meli-email.org/meli/meli/src/branch/master/CHANGELOG.md"
distfiles="https://git.meli-email.org/meli/meli/archive/v${version}.tar.gz"
checksum="b1414defb7973a96ed0510b5cb888aa8671fe4f3f832c5baa0c79dcd61ba2edf"

post_install() {
	vman docs/meli.1
	vman docs/meli.7
	vman docs/meli.conf.5
	vman docs/meli.conf.examples.5
	vman docs/meli-themes.5
	vlicense ../COPYING
}
