{% set version = "0.1.18" %}

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

source:
  url: https://github.com/brentp/goleft/releases/download/v{{ version }}/goleft_linux64 # [linux]
  sha256: bd9049b67f9e176714f0dca5f4920738702899467dd3058d2e0712b77b7c3125 # [linux]
  url: https://github.com/brentp/goleft/releases/download/v{{ version }}/goleft_osx # [osx]
  sha256: 83766ef01804609b70f1fec65d45a182e573fe4f621f6fa25adc4bbd50e54d51 # [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
