{% set version = "0.8.0" %}

package:
  name: seqkit
  version: {{ version }}

about:
  home: https://github.com/shenwei356/seqkit
  summary: Cross-platform and ultrafast toolkit for FASTA/Q file manipulation
  license: MIT

build:
  number: 1
  skip: False

source:
  fn: seqkit_{{ version }}_osx.tar.gz # [osx]
  url: https://github.com/shenwei356/seqkit/releases/download/v{{ version }}/seqkit_darwin_amd64.tar.gz # [osx]
  md5: 0548f3eaf0ccc3d8b300464a69319f1c # [osx]

  fn: seqkit_{{ version }}_linux.tar.gz # [linux]
  url: https://github.com/shenwei356/seqkit/releases/download/v{{ version }}/seqkit_linux_386.tar.gz # [linux]
  md5: d089bf58af31fe8335f2f2b3702d4697 # [linux]

  fn: seqkit_{{ version }}_linux64.tar.gz # [linux64]
  url: https://github.com/shenwei356/seqkit/releases/download/v{{ version }}/seqkit_linux_amd64.tar.gz # [linux64]
  md5: 2536f9f9460036fbde6e7f85d2879123 # [linux64]

requirements:
  run:
    - pigz

test:
  commands:
    - seqkit version --help
