{% set name = "nextalign" %}
{% set version = "2.3.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  - url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-x86_64-unknown-linux-gnu  # [linux64]
    sha256: 422afc4431cd2505f499a17c45a22f281456c603112cdcdaf6bd203023e00e06                                           # [linux64]
  - url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-x86_64-apple-darwin        # [osx and x86_64]
    sha256: 6916f775e34a104910799d38136d4e636758f52fa18644209f249bfabc520bc4                                           # [osx and x86_64]
  - url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-aarch64-apple-darwin       # [arm64]
    sha256: a04cc971df3b913a1680090e6d1d104fc6b18840b869c054a7d616369baec42e                                           # [arm64]

build:
  number: 0
  binary_relocation: False

requirements:

test:
  files:
    - test-data
  commands:
    - nextalign --help

about:
  home: https://github.com/nextstrain/nextclade/tree/master/packages/nextalign_cli
  license: MIT
  license_family: MIT
  summary: "Viral genome sequence alignment tool"
  doc_url: https://docs.nextstrain.org/projects/nextclade/en/stable/user/nextalign-cli.html
  dev_url: https://github.com/nextstrain/nextclade 

extra:
  recipe-maintainers:
    - cjw85
    - thanhleviet
    - pvanheus
    - corneliusroemer
  skip-lints:
    # repackaged binary
    - should_be_noarch_generic
