# -*- 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/keybase/client 6.6.2 v
revision            0

name                keybase
categories          security
license             BSD
maintainers         nomaintainer
description         Command-line interface to Keybase.io
long_description    ${description}

depends_run         path:bin/gpg:gnupg2

checksums           rmd160  195c2c757e9fcdf981873f817fbe61cb2c8c75d1 \
                    sha256  b949a10588e8992cff6a73f09d39fb87112682610ed186c143370274fbeecc6a \
                    size    89154085

build.dir           ${worksrcpath}/go
build.env           GOPATH=${gopath}
build.cmd           ${go.bin} install
build.args          -tags production ${go.package}/go/keybase

test.run            no

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