{% set version = "1.4" %}
{% set sha256 = "d124604ec24f29ed14ce127426ab90e0f3a2c0280c80d1a3ff8b1c09feede19c" %}

package:
  name: seqtk
  version: {{ version }}

source:
  url: https://github.com/lh3/seqtk/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - 0001-makefile.patch

build:
  number: 2
  run_exports:
    - {{ pin_subpackage('seqtk', max_pin="x.x") }}

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - zlib
  run:
    - zlib
test:
  commands:
    - seqtk 2>&1 | grep seqtk -q

about:
  home: https://github.com/lh3/seqtk
  license: MIT
  license_file: LICENSE
  summary: Seqtk is a fast and lightweight tool for processing sequences in the FASTA or FASTQ format

extra:
  additional-platforms:
    - linux-aarch64
  identifiers:
    - biotools:seqtk
