# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/gopasspw/gopass-hibp 1.15.18 v
go.offline_build    no
revision            0
categories          security
maintainers         {@sikmir disroot.org:sikmir} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             MIT

description         Gopass haveibeenpwnd.com integration
long_description    {*}${description}
homepage            https://www.gopass.pw

checksums           rmd160  72f2e3d801849cfacc12fba4fd9aafe93cc07ff6 \
                    sha256  de8fb9d01232d40f3fb0a265307b63fcf39f32eb728dabfe7a200cee7e47bdb5 \
                    size    22872

build.cmd           ${go.bin} mod tidy \&\& ${go.bin} build
build.args          -ldflags '-X main.version=${version}'

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
