# Template file for 'chathistorysync'
pkgname=chathistorysync
version=0.2.1
revision=2
build_style=go
go_import_path="git.sr.ht/~emersion/chathistorysync"
hostmakedepends="scdoc"
short_desc="Synchronization tool for IRC chat history"
maintainer="Daniel Lewan <daniel@teddydd.me>"
license="AGPL-3.0-or-later"
homepage="https://sr.ht/~emersion/chathistorysync/"
distfiles="https://git.sr.ht/~emersion/chathistorysync/archive/v${version}.tar.gz"
checksum=dc1fdbd1910b356d239afc2cffdd181faa47b8a82cf3251281c99cd3d612b4cf

post_build() {
	make chathistorysync.1
}

post_install() {
	vman chathistorysync.1
	vlicense LICENSE
}
