{% set name = "SamHaplotag" %}
{% set version = "0.0.4" %}
{% set sha256 = "e87b4ea42973b13afdab7c0bfb5fb15b42389bbab2af97e4f70caa8365b3e47e" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: https://github.com/wtsi-hpag/{{name}}/releases/download/{{version}}/{{name}}-{{version}}.tar.xz
  sha256: {{ sha256 }}

build:
  number: 1

requirements:
  build:
    - {{ compiler('cxx') }}
    - clang>=9.0.1 # [linux] 
    - meson>=0.57.1

test:
  commands:
    - {{ name }} --help
    - 10xSpoof --help

about:
  home: https://github.com/wtsi-hpag/{{ name }}
  license: MIT
  license_file: LICENSE
  license_family: MIT
  summary: Processes haplotag barcodes in SAM format.
  description: >
    Converts BC/QT barcode SAM tags into haplotag RX, QX and BX tags.
    Also contains a tool for converting barcodes from haplotag to 10x in fastq format. 
