{% set version = "2.27.0" %}
{% set sha256 = "18d6fc919adce684c01fe57797e2adbf5b4d4f6cf5ef169378ad473797be38ae" %}

package:
  name: vsearch
  version: '{{ version }}'

source:
  url: https://github.com/torognes/vsearch/archive/v{{ version }}.tar.gz
  sha256: '{{ sha256 }}'

build:
  number: 1
  run_exports:
    - {{ pin_subpackage('vsearch', max_pin="x") }}

requirements:
  build:
    - make
    - '{{ compiler("c") }}'
    - '{{ compiler("cxx") }}'
    - automake
    - autoconf
  host:
    - zlib
    - bzip2
  run:
    - zlib
    - bzip2

test:
  files:
    - small.fna.gz
  commands:
    # (see run_tests.sh for remainder of tests)
    - vsearch --version

about:
  home: https://github.com/torognes/vsearch
  license: GPL-3.0-or-later OR BSD-2-Clause
  license_family: GPL3
  license_file: LICENSE.txt
  summary: A versatile open source tool for metagenomics (USEARCH alternative)

extra:
  additional-platforms:
    - linux-aarch64
  identifiers:
    - biotools:vsearch
    - doi:10.7717/peerj.2584
