# Template file for 'tinyssh'
pkgname=tinyssh
version=20260601
revision=1
build_style=gnu-makefile
make_dirs="/etc/tinyssh 0755 root root"
make_use_env=yes
make_check_target="test"
depends="ucspi-tcp"
short_desc="Minimalistic SSH server"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="CC0-1.0 OR 0BSD OR MIT-0 OR MIT"
homepage="https://tinyssh.org"
distfiles="https://github.com/janmojzis/tinyssh/archive/${version}.tar.gz"
checksum=b0a49efb7289718d472e17399aab29c7ef47faceec879d2678c647c5dae47419

pre_build() {
	vsed -i -e 's:/sbin:/bin:' Makefile
}

post_install() {
	vsv tinysshd
	vlicense LICENSE.md
}
