{% set version = "0.2.4" %}

package:
  name: goleft
  version: '{{ version }}'

source:
  - url: https://github.com/brentp/goleft/releases/download/v{{ version }}/goleft_linux64  # [linux]
    sha256: 5f8df703f7a369213961b4fc583aa625012548fb213dd906eaaeaaed89a319ab  # [linux]
  - url: https://github.com/brentp/goleft/releases/download/v{{ version }}/goleft_osx  # [osx]
    sha256: eab89fe80063095f9d01d02bac6770ea9ef102abab900ce01477ebb6fd9bdebc  # [osx]

build:
  number: 1
  binary_relocation: false

requirements:
  run:
    - samtools

test:
  commands:
    - goleft depth -h
    - goleft indexcov -h

about:
  home: https://github.com/brentp/goleft
  license: MIT
  summary: goleft is a collection of bioinformatics tools distributed under MIT license in a single static binary

extra:
  skip-lints:
    - should_be_noarch_generic
    - should_not_be_noarch_source
