# -*- 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.16 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  3d6ecf3b7b114ed43ea0b1f69b58e9b03163f297 \
                    sha256  870b8334bb9fb2426d7fe146daae655b67d3519a5040c4d0513555d7797a0c94 \
                    size    22605

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/
}
