{% set version = "8-c4b9644" %}
{% set sha256 = "d0adad84518c80b8f47f9c50412540ce64ab17a801df678921130fa5ccfa9202" %}

package:
  name: mmseqs2-server
  version: {{ version|replace("-", ".")  }}

build:
  number: 1
  run_exports:
    - {{ pin_subpackage('mmseqs2-server', max_pin=None) }}

source:
  url: https://github.com/soedinglab/mmseqs2-app/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

requirements:
  build:
    - {{ compiler('go') }}
  run:
    - mmseqs2
    - foldseek

test:
  commands:
    - which mmseqs-server

about:
  home: https://github.com/soedinglab/MMseqs2-App
  license: GPLv3
  license_file: LICENSE
  summary: "Server for MMseqs2, Foldseek and ColabFold"

extra:
  identifiers:
    - doi:10.1093/bioinformatics/bty1057
    - biotools:mmseqs2
  recipe-maintainers:
    - milot-mirdita
  additional-platforms:
    - linux-aarch64
    - osx-arm64
