# Template file for 'offpunk'
pkgname=offpunk
version=2.8
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="chafa file less python3-BeautifulSoup4 python3-chardet
 python3-cryptography python3-feedparser python3-readability-lxml
 python3-requests python3-setproctitle wl-clipboard xdg-utils xsel"
short_desc="Offline-first command-line browser for gemini, gopher and the web"
maintainer="Maeve Sproule <code@sprock.dev>"
license="AGPL-3.0-only"
homepage="https://offpunk.net/"
changelog="https://git.sr.ht/~lioploum/offpunk/blob/master/CHANGELOG"
distfiles="https://git.sr.ht/~lioploum/offpunk/archive/v${version}.tar.gz"
checksum=7b487ac54b0abcdb3002e008d06717c4384b47a49e56534397b47299a31debc0

post_install() {
	vlicense LICENSE
	vman man/ansicat.1
	vman man/netcache.1
	vman man/offpunk.1
	vman man/opnk.1
}
