# Template file for 'lz4jsoncat'
pkgname=lz4jsoncat
version=2
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="liblz4-devel"
short_desc="C decompress tool for Mozilla lz4json format"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/andikleen/lz4json"
distfiles="https://github.com/andikleen/lz4json/archive/v${version}.tar.gz"
checksum=f59e522a19f846a55be787b4cd194ea35895ef58db9ec315da10585abab99b20

do_install() {
	sed '/^$/q' <lz4jsoncat.c >LICENSE
	vlicense LICENSE

	vbin lz4jsoncat
	vman lz4jsoncat.1
}
