Captain Kyd (Vol 1 of 2)or, The Wizard of the Sea by Ingraham, Jonathon Holt
 is a Project Gutenberg book, now on Github.