# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=sslscan
pkgver=2.1.4
pkgrel=0
pkgdesc="fast SSL/TLS configuration scanner"
url="https://github.com/rbsec/sslscan"
arch="all"
license="GPL-3.0-or-later OpenSSL"
makedepends="zlib-dev openssl-dev>3 perl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbsec/sslscan/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No test suite

build() {
	make GIT_VERSION=$pkgver
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2880df01cf4a9d05e151a67d0f7ec078645286ce467bb4ead97592d4aeb0a5d7373d67ce48cef8d211c5519fee88fbede7b90adee5e4da1feece51bf609a4318  sslscan-2.1.4.tar.gz
"
