Toast the seeds in a small dry skillet over medium heat, shaking the pan frequently, until they color slightly, just a couple of minutes. (If the peanuts are raw, you can toast them the same way.)
Grind all the ingredients together in a blender or food processor, stopping the machine to scrape down the sides if necessary; you are looking for a coarse grind, sho