Add ledger support

Hi,

This PR adds support for [ledger-mode](https://github.com/ledger/ledger).

Cheers,
syl20bnr