I’ve put it into a HowTo here: [HowTo] Compile & Install Deluge on OSMC
Feel free to clean up this thread if you like.