# Template file for 'gemserv'
pkgname=gemserv
version=0.4.5
revision=2
wrksrc="${pkgname}-v${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Gemini server written in rust"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="gemini://80h.dev/projects/gemserv/"
distfiles="https://git.sr.ht/~int80h/gemserv/archive/v${version}.tar.gz"
checksum=7aeb5edc8af6ebefc2331aebc0c360798711c2fb16ee9cbde8c5c4f9502c491f
system_accounts="_gemserv"

post_install() {
	vsv gemserv
	vsconf config.toml
	vlicense LICENSE
}
