{% set version = "0.0.6" %}

package:
  name: gofasta
  version: {{ version }}

source:
  url: https://github.com/virus-evolution/gofasta/archive/v{{ version }}.tar.gz
  sha256: 31df7574e815e2b2f78f7928c67660a0ad780b25d7ce35cf5bc79ad6e6f6523d

requirements:
  build:
    - {{ compiler('go-nocgo') }}

build:
  number: 1
  script:
    - mkdir -p $PREFIX/bin
    - go build -o $PREFIX/bin/gofasta

test:
  commands:
    - gofasta --help

about:
  home: https://github.com/virus-evolution/gofasta
  license: MIT
  license_file: LICENSE
  summary: Genomic epidemiology utilities for short genome alignments
